//package com.zzx.schoolfellow.mapper;
//
//import com.baomidou.mybatisplus.core.mapper.BaseMapper;
//import org.apache.ibatis.annotations.*;
//
//import java.util.List;
//@Mapper
//public interface UserMapper  extends BaseMapper<User> {
//    @Select("SELECT * FROM user")
//    List<User> getAllUsers();
//
//    @Select("SELECT * FROM user WHERE id=#{id}")
//    User getUserById(Long id);
//
//    @Insert("INSERT INTO user(username,password,email) VALUES(#{username},#{password},#{email})")
//    void createUser(User user);
//
//    @Update("UPDATE user SET username=#{username},password=#{password},email=#{email} WHERE id=#{id}")
//    void updateUser(User user);
//
//    @Delete("DELETE FROM user WHERE id=#{id}")
//    void deleteUser(Long id);
//
//}
